package com.sywl.service;

import java.util.List;
import java.util.Map;

import com.sywl.orm.User;
import com.sywl.util.DataGridModel;

public interface UserService {
	public void addUser(User user);

	public List<User> listUser();

	public void removeUser(String userName);

	public User findById(Integer id);

	Map<String, Object> getPageList(DataGridModel dgm, User user)
			throws Exception;

}
